// 请求拦截器
const Request = require("./request");
const Api = new Request();
// 请求拦截器
Api.interceptors.request((request) => {
    return request;
});

// 响应拦截器
Api.interceptors.response(async (response, options) => {
    return response.data;
});

module.exports = Api;
